package cn.zhj.springboot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "app.auth")
@lombok.Data
/**
 * 认证配置
 */
public class AuthProperties {
    private boolean enable;
    private List<String> excludePaths;

    // getter/setter
}
